package com.vueperson.vueperson.dao;

import com.vueperson.vueperson.entity.Role02;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleJPA02 extends JpaRepository<Role02,Integer> {
   List<Role02> findByNameOrNameZh(String name, String nameZh);
   List<Role02> findByName(String name);
}
